package com.sumer.brain.sys.mapper;

import com.sumer.brain.sys.model.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> getMenusByUserId(Long userId);

    List<Long> selectMenuListByRoleId(Long roleId);
}




